package com.tongzhan.entity.religion;

import com.tongzhan.annotation.PrimaryKey;
import com.tongzhan.base.BaseModel;
import lombok.Data;
import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import java.time.LocalDateTime;

/**
 * 整改实体类
 * @author wn
 * @date 2020/07/16
 */
@Data
@Document(collection = "Rectification")
public class Rectification extends BaseModel {
    @PrimaryKey
    @Field("RectificationCode")
    private String rectificationCode;
    @Field("UserName")
    private String userName;
    @Field("RealName")
    private String realName;
    @Field("InspectionCode")
    private String inspectionCode;
    @Field("RectificationPersonnel")
    private String RectificationPersonnel;//整改人
    @Field("RectificationCompany")
    private String rectificationCompany;//整改场所
    @Field("Describe")
    private String describe;
    @Field("Picture")
    private String picture;
    @Field("RectificationTime")
    private LocalDateTime rectificationTime;
}
